package org.academic.texteditor.gui.plugin;


public abstract class BasePlugin implements Plugin {

	private static final long serialVersionUID = -5511169598145824892L;
	
	private final String name;
	private final int order;
	
	public BasePlugin(String name) {
		this(name, 1);
	}
	
	public BasePlugin(String name, int order) {
		this.name = name;
		this.order = order;
	}
	
	@Override
	public final String getName() {
		return name;
	}

	public int getOrder() {
		return order;
	}

}
